package com.ruoyi.loss.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;
import java.util.Date;

import java.io.Serializable;

/**
 * 自定义字段视图对象 lsh_well_custom_fields
 *
 * @author yangyong
 * @date 2023-12-25
 */
@Data
@ExcelIgnoreUnannotated
public class WellCustomFieldsVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键Id
     */
    @ExcelProperty(value = "主键Id")
    private Long id;

    /**
     * 全局默认标识（0是 1否）
     */
    @ExcelProperty(value = "全局默认标识", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "default_yes_no")
    private String isGlobal;

    /**
     * 井号
     */
    @ExcelProperty(value = "井号")
    private String wellNo;

    /**
     * 井属性
     */
    @ExcelProperty(value = "井属性", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "well_attribute")
    private Integer wellAttribute;

    /**
     * 字段中文
     */
    @ExcelProperty(value = "字段中文")
    private String fieldCn;

    /**
     * 字段英文
     */
    @ExcelProperty(value = "字段英文")
    private String fieldEn;

    /**
     * 字段值
     */
    @ExcelProperty(value = "字段值")
    private String fieldVal;

    /**
     * 状态（0正常 1停用）
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "default_status")
    private String status;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;


}
